package com.xcity.game.assist;

import com.alibaba.fastjson.annotation.JSONField;

import naga.x.game.time.TimeUpdater;

public class AssistInvite {

	@JSONField(name = "0")
	protected long time;
	@JSONField(name = "1")
	protected long owner;
	@JSONField(name = "2")
	protected long assistant;
	@JSONField(name = "3")
	protected int buildId;
	
	public AssistInvite(){
	}
	
	public AssistInvite(long owner, long assistant, int buildid){
		time = TimeUpdater.getInstance().now();
		this.owner = owner;
		this.assistant = assistant;
		this.buildId = buildid;
	}

	public long getTime() {
		return time;
	}
	public void setTime(long time) {
		this.time = time;
	}
	public long getOwner() {
		return owner;
	}
	public void setOwner(long owner) {
		this.owner = owner;
	}
	public long getAssistant() {
		return assistant;
	}
	public void setAssistant(long assistant) {
		this.assistant = assistant;
	}
	public int getBuildId() {
		return buildId;
	}
	public void setBuildId(int buildId) {
		this.buildId = buildId;
	}
}
